package com.wmz.service;

import com.github.pagehelper.PageInfo;
import com.wmz.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wmz.query.UserQuery;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

/**
* @author q1186
* @description 针对表【t_user(用户表)】的数据库操作Service
* @createDate 2024-02-15 21:42:41
*/
public interface UserService extends UserDetailsService {

    PageInfo<User> getUserByPage(Integer pageNum);

    User getUserById(Integer id);

    int insertUser(UserQuery userQuery);

    int updateUser(UserQuery userQuery);

    int delUser(Integer id);

    int batchDelUser(List<String> idList);
}
